fontchooser: Fix gcc warnings
authorBenjamin Otte <otte@redhat.com>
Wed, 21 Sep 2011 02:21:42 +0000 (04:21 +0200)
committerBenjamin Otte <otte@redhat.com>
Thu, 22 Sep 2011 19:44:04 +0000 (21:44 +0200)
gtk/gtkfontchooserwidget.c

index abbba2f9c1e6613537e48a60b63e5f5b3557f5ef..36d85acf324026e292363a195f561d8255c9708b 100644 (file)
@@ -497,7 +497,6 @@ gtk_font_chooser_widget_init (GtkFontChooserWidget *fontchooser)
 {
   GIcon                   *icon;
   GtkFontChooserWidgetPrivate   *priv;
-  const PangoFontDescription *font_desc;
   GtkWidget               *scrolled_win;
   GtkWidget               *grid;
 
@@ -783,7 +782,7 @@ visible_func (GtkTreeModel *model,
   gboolean result = TRUE;
   const gchar *search_text;
   gchar **split_terms;
-  gchar *font_name, *font_name_casefold, *term_casefold;
+  gchar *font_name, *font_name_casefold;
   guint i;
 
   if (priv->filter_func != NULL)